home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Containers within containers < prev    next >
Encoding:
Internet Message Format  |  1996-08-15  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Containers within containers
  2. Sent:        8/15/96 1:37 AM
  3. Received:    8/15/96 10:27 AM
  4. From:        Graham, 100635.1255@compuserve.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Dear ODF Team
  9.  
  10. Can a container contain a container?
  11.  
  12. I asked this question once before in a different context and, if I remember
  13. correctly, got the answer - No. You cant embed ODFContainer in 
  14. ODFContainer, for instance.
  15.  
  16. This makes sense if only the data is considered - both parts hold the same
  17. data in the same way so why have one within another. However, the purpose
  18. of embedding parts may be organisational.
  19.  
  20. Specifically, I am involved in writing an application in which a collection of
  21. parts
  22. are arranged hierarchically in an overall container part (the Page)
  23.  
  24. The design requires the use of sub containers to hold objects on a lower
  25. level of the hierarchy - which may themselves be sub-containers.
  26.  
  27. It is necessary for a container to be a separate part for a number of reasons
  28. including:
  29.  
  30. Consistent navigation through the hierarchy
  31.  
  32. Third parties should be able to write variations on the container easily and
  33. without interring with the code of the embedding page.
  34.  
  35. Graham
  36.  
  37.